package org.apogee.mil.client.services.greeting;

import java.util.ArrayList;

import com.extjs.gxt.ui.client.data.BaseModel;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greeting")
public interface GreetingService extends RemoteService {
	public boolean loadConfig() throws Exception;
	public boolean initialize();
	public boolean saveConfig(String config) throws Exception;
	public ArrayList<BaseModel> getServerInfo() throws Exception;
	public ArrayList<BaseModel> getServerConfig() throws Exception;
	public ArrayList<BaseModel> getMessages(int toUserId) throws Exception;
}
